package com.group.eams.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group.eams.pojo.dto.FixedAssetDetailQueryDto;
import com.group.eams.pojo.dto.PurchaseOrderQueryDto;
import com.group.eams.pojo.entity.AssetStorage;
import com.group.eams.pojo.entity.PurchaseOrder;
import com.group.eams.pojo.vo.FixedAssetDetailListVo;
import com.group.eams.pojo.vo.PurchaseOrderListVo;
import org.apache.ibatis.annotations.Param;

/**
* @author 恩哲欣
* @description 针对表【purchase_order(采购订单表)】的数据库操作Service
* @createDate 2024-10-29 16:09:34
*/
public interface PurchaseOrderService extends IService<PurchaseOrder> {
    Page<PurchaseOrderListVo> findPurchaseOrderList(Page<PurchaseOrder> page,
                                                    PurchaseOrderQueryDto purchaseOrderQueryDto);

    //根据单号查订单信息
    PurchaseOrder findByApplicationNum(String applicationNum);

    //查询订单资产详情
    Page<FixedAssetDetailListVo> findByQueryDto(Page<FixedAssetDetailListVo> page,
                                                FixedAssetDetailQueryDto fixedAssetDetailQueryDto);
}
